//
//  AudioController.h
//  TengineTwo
//
//  Created by StandardUser on 11/03/2012.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
//  http://timbolstad.com/2010/03/14/core-audio-getting-started/
//
//  audio controller implementation to allow for pitch adjustment during audio playback
//

#import <Foundation/Foundation.h>
#import <AudioToolbox/AudioToolbox.h>
//#import "CAStreamBasicDescription.h" //c++ we should implement these in c without the helpers
//#import "ExtendedAudioFile.h"

@interface AudioController : NSObject {
    
    // Audio Graph Members
	AUGraph   mGraph;
	AudioUnit mMixer;
}

@property(readwrite, nonatomic)float playbackRate;

- (void)initializeAUGraph;
- (void)startAUGraph;
- (void)stopAUGraph;

@end